﻿@using ETD.Common.Extension;
@using ETD.WebOrganization.Libs.Helper;
@using ETD.WinClient.Config;
@using ETD.Domain.EnumModels;
@using ETD.Domain.WebModels;
@using ETD.Common;
@using ETD.WebOrganization.Libs.Controls;
@model ETD.WebOrganization.Areas.Web.Models.SelfCenter.SelfCenterIndexModel
@{
    ViewBag.Title = "个人中心";
    var userInfo = Model.UserInfoItem;
    //var weixinUser = Model.WeixinUser;
}
<style>
    .head-img {
        border-radius: 50px;
    }

    .menu_item_left_icon {
        width: 30px;
        margin-right: 15px !important;
        display: block;
    }

    .menu_item_right_warp:after {
        margin-top: -2px !important;
    }

    .menu_item_right_msg {
        font-size: 12px !important;
        line-height: 100%;
    }

    .weui-btn_primary {
        background-color: #4dd1c1;
        width: 300px;
    }
</style>
<div class="weui-panel__bd">
    <a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
            <img class="weui-media-box__thumb head-img" src="@Url.MapMvcAssets("NormalImages/logo.png")">
        </div>
        <div class="weui-media-box__bd">
            <h4 class="weui-media-box__title">@userInfo.RealName</h4>
            <p class="weui-media-box__desc">@*由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。*@</p>
        </div>
    </a>

    <div class="weui-cells">
        @*<a class="weui-cell weui-cell_access" href="/Web/Financial/IncomeEveryDayList?timestamp=20190429144957684">
            <div class="weui-cell__hd"><img src="/Assets/MvcAssets/images/icon_shouyi.png" alt="" style="width:30px;margin-right:5px;display:block"></div>
            <div class="weui-cell__bd">
                <p>个人信息</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>*@
        <a class="weui-cell weui-cell_access" href="@Url.ActionTS("ChangePassword","SelfCenter")">
            <div class="weui-cell__hd"><img src="@Url.MapMvcAssets("images/icon_record.png")" alt="" style="width:28px;margin-right:7px;display:block"></div>
            <div class="weui-cell__bd">
                <p>修改密码</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        @*<a class="weui-cell weui-cell_access" href="/Web/Financial/SettlementManage?timestamp=20190429144957684">
            <div class="weui-cell__hd"><img src="/Assets/MvcAssets/images/icon_record.png" alt="" style="width:28px;margin-right:7px;display:block"></div>
            <div class="weui-cell__bd">
                <p>银行卡信息</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>*@

    </div>
</div>

<div class="weui-cells">
    @*<a class="weui-cell weui-cell_access" href="@Url.Action("UserInfo", "SelfCenter")">
            <div class="weui-cell__hd"><img class="menu_item_left_icon" src="@Url.MapMvcAssets("Images/icon_wode_gray.png")"></div>
            <div class="weui-cell__bd weui-cell_primary">
                <p>个人信息</p>
            </div>
            <span class="weui-cell__ft menu_item_right_warp"><span class="menu_item_right_msg">王宁</span></span>
        </a>
        <a class="weui-cell weui-cell_access" href="javascript:;">
            <div class="weui-cell__hd"><img class="menu_item_left_icon" src="@Url.MapMvcAssets("Images/icon_msg_gray.png")"></div>
            <div class="weui-cell__bd weui-cell_primary">
                <p>消息提醒</p>
            </div>
            <span class="weui-cell__ft menu_item_right_warp"><span class="menu_item_right_msg">1个消息</span></span>
        </a>
        <a class="weui-cell weui-cell_access" href="javascript:;">
            <div class="weui-cell__hd"><img class="menu_item_left_icon" src="@Url.MapMvcAssets("Images/icon_role_gray.png")"></div>
            <div class="weui-cell__bd weui-cell_primary">
                <p>我的岗位</p>
            </div>
            <span class="weui-cell__ft menu_item_right_warp"><span class="menu_item_right_msg">叉车司机</span></span>
        </a>*@
</div>

<div class="weui-btn-area">
    <a class="weui-btn weui-btn_primary" href="@Url.ActionTS("Logout","Account")" id="btnSettlement">退出</a>
</div>

@section ScriptSection{
    <script>

    </script>
}